<template>
  <div class="Widget">Widget: {{widgetConfig.name}}</div>
</template>
<script lang="ts">
import { Component, Vue, Prop } from 'vue-property-decorator'
import WidgetConfig from '@/core/model/WidgetConfig'

@Component
export default class Widget extends Vue {
  @Prop()
  public widgetConfig!: WidgetConfig
}
</script>
<style scoped lang="scss">
@import '~@/style/variables.scss';
.Widget {
  height: 100%;
  background: gray;
}
</style>
